/*
 * @(#)SetupOptionItem.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.setup;

/**
 *  Defines setup option item for System Setup - Options Setup 
 *
 *  @author           Kennedy Lam
 *  @company          DCIVision Limited
 *  @creation date    28/07/2003
 *  @version          $Revision: 1.1 $
 */
public final class SetupOptionItem {

  /**
   * @return
   */
  public int getIndex() {
    return nIndex;
  }

  /**
   * @return
   */
  public String getColumnHeader() {
    return sColumnHeader;
  }

  /**
   * @return
   */
  public String getDAObjectName() {
    return sDAObjectName;
  }

  /**
   * @return
   */
  public String getOptionName() {
    return sOptionName;
  }

  /**
   * Default Constructor 
   * @param idx unique index
   * @param opt option name
   * @param col unique id of column header for jsp
   * @param dao DAO class name
   */
  public SetupOptionItem(int idx, String opt, String col, String dao)
  {
    nIndex = idx;
    sOptionName = opt;
    sColumnHeader = col;
    sDAObjectName = dao;
  }
    
  private String sOptionName;
  private String sColumnHeader;
  private String sDAObjectName;
  private int nIndex;
}
